home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / filesy~1 / mfs610s.zoo / minixfs / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-11-25  |  1.3 KB  |  40 lines

  1. /* User settable parameters */
  2.  
  3. /*#define MFS_NMOVE_DIR*/    /* no movement of directories (rename OK) */
  4. /*#define LRDEBUG*/        /* debug lrecno */
  5. /*#define BIGDIRTEST*/        /* debug big dir code */
  6. #define SCACHE_SIZE    20    /* # blocks in built in system cache */
  7. #define ICACHE_SIZE    10    /* # blocks in built in inode cache */
  8. #define UCACHE_SIZE    40    /* # blocks in built in user cache */ 
  9.  
  10. #define PRE_READ    8    /* Max Number of blocks to 'read-ahead' */
  11.  
  12. #define CACHE_MODE    TURBO    /* Cache mode of operation */
  13. #define TURBO        0    /* Only sync() thru update process */
  14. #define NORMAL         1    /* sync() on all but writes */
  15. #define ROBUST        2    /* sync() on everything ***slow*** */
  16.  
  17. #define SYNC_TIME    5    /* sync time is seconds */
  18.  
  19. #define MAX_RWS        1024    /* Maximum sectors to read/write atomically */
  20.  
  21. #define MAX_INCREMENT    4    /* Determines max filename length */
  22.  
  23. /* Default translation modes ... change if desired */
  24. #define TRANS_DEFAULT    (SRCH_TOS | DIR_TOS | DIR_MNT | LWR_TOS | AEXEC_TOS )
  25.  
  26. /* Set this to be true if 'c' is an illegal character for a filename */
  27.  
  28. #define BADCHR(c)    (c=='/')
  29.  
  30. /* Some unixes have something a bit stricter,uncomment out this if required */
  31.  
  32. /* #define BADCHR(c) ( (c=='/') || (c & 0x80) ) */
  33.  
  34. /* (or supply your own ) */
  35.  
  36. #define SYMLINK_NAME_MAX 127    /* Maximum size of symlink name */
  37. #define MINIX_MAX_LINK    127    /* Max links to an inode *MUST* be < 256 */
  38.  
  39.  
  40.